<%@page contentType="text/html;charset=UTF-8"%>
<%@page pageEncoding="UTF-8"%>
<%@ include file="/pub/includ.jsp"%>
<script type="text/javascript">
	  var save = function(){
			var flag = "failure";
			var options = {
				type: 'POST',
				async: false,
				dataType: 'content-type',
				success: function(msg) {
					flag = msg;
				}
			}
			$('#messageboardform').ajaxSubmit(options);
			return flag;
		}
</script>
<form id="messageboardform"  action="<%=path%>/ext/messageboard/save" method="post" target="_self">
<table><tr><td height="2px"></td></tr></table>
<table align="center" border="0" cellpadding="0" cellspacing="1" class="table_nbw" >
	<thead class="th_nbw">
	<tr>
		<td colspan="2" align="center"><strong>留言板管理</strong></td>
	</tr>
	</thead>
	<tr >
		<td align="right" width="30%"  style="background-color:f2f9ff;height:25px;">标题</td>
		<td align="left" style="background-color:fff">&nbsp;<input class="textfiled_nbw"  type="text" id="title" name="title" value="${messageboard.title}"></td>
	</tr>
	<tr >
		<td align="right" width="30%"  style="background-color:f2f9ff;height:25px;">内容</td>
		<td align="left" style="background-color:fff">&nbsp;<textarea name="content" id="content" cols="45" rows="5">${messageboard.content}</textarea></td>
	</tr>
	<tr >
		<td align="right" width="30%"  style="background-color:f2f9ff;height:25px;">名称</td>
		<td align="left" style="background-color:fff">&nbsp;<input class="textfiled_nbw"  type="text" id="name" name="name" value="${messageboard.name}"></td>
	</tr>
	<tr >
		<td align="right" width="30%"  style="background-color:f2f9ff;height:25px;">性别</td>
		<td align="left" style="background-color:fff">&nbsp;<input class="textfiled_nbw"  type="text" id="sex" name="sex" value="${messageboard.sex}"></td>
	</tr>
	<tr >
		<td align="right" width="30%"  style="background-color:f2f9ff;height:25px;">email</td>
		<td align="left" style="background-color:fff">&nbsp;<input class="textfiled_nbw"  type="text" id="email" name="email" value="${messageboard.email}"></td>
	</tr>
	<tr >
		<td align="right" width="30%"  style="background-color:f2f9ff;height:25px;">电话</td>
		<td align="left" style="background-color:fff">&nbsp;<input class="textfiled_nbw"  type="text" id="phone" name="phone" value="${messageboard.phone}"></td>
	</tr>
	<tr >
		<td align="right" width="30%"  style="background-color:f2f9ff;height:25px;">手机</td>
		<td align="left" style="background-color:fff">&nbsp;<input class="textfiled_nbw"  type="text" id="mobile" name="mobile" value="${messageboard.mobile}"></td>
	</tr>
	<tr >
		<td align="right" width="30%"  style="background-color:f2f9ff;height:25px;">地址</td>
		<td align="left" style="background-color:fff">&nbsp;<input class="textfiled_nbw"  type="text" id="address" name="address" value="${messageboard.address}"></td>
	</tr>
</table>
<table width="100%">
	<tr>
		<td align="center">
			<input type=hidden name="id" value="${messageboard.id}" />
			<input type=hidden name="createtimev" value="${messageboard.createtimev}" />
			<input type=hidden name="site_id" value="${messageboard.site_id}" />
		</td>
	</tr>
</table>
</form>


